The ID of the balance card.
The ID of the program membership.
curl -L \ --url '/v2/program-memberships/{program_membership_id}/balance-cards/{balance_card_id}' \ --header 'X-API-Key: YOUR_API_KEY'
{ "balance_card": { "id": "text", "nickname": "text", "balance_in_cents": 1, "program_membership_id": "text", "created_at": 1, "updated_at": 1 } }
curl -L \ --url '/v2/program-memberships/{program_membership_id}/balance-cards' \ --header 'X-API-Key: YOUR_API_KEY'
{ "balance_cards": [ { "id": "text", "nickname": "text", "balance_in_cents": 1, "program_membership_id": "text", "created_at": 1, "updated_at": 1 } ] }
The nickname of the balance card.
curl -L \ --request POST \ --url '/v2/program-memberships/{program_membership_id}/balance-cards' \ --header 'X-API-Key: YOUR_API_KEY' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'nickname=text'
{ "transaction": { "transaction_id": "text", "idempotency_key": "text", "balance_card_id": "text", "transaction_type": "text", "deposit_amount_in_cents": 1, "available_balance_in_cents": 1 } }