openapi: 3.0.1 info: title: Paystack Accept Payments Balance Transfer Recipient API description: Initialize, verify, charge, and manage one-time card, bank, USSD, mobile money, and QR payments. The core API for accepting payments through Paystack across Africa. version: 1.0.0 contact: name: Paystack Support url: https://support.paystack.com email: support@paystack.com license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html servers: - url: https://api.paystack.co description: Base API endpoint security: - bearerAuth: [] tags: - name: Transfer Recipient paths: /transferrecipient: post: tags: - Transfer Recipient summary: Create Transfer Recipient operationId: transferrecipient_create requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/paths/~1transferrecipient/post/requestBody/content/application~1json/schema' application/json: schema: type: object required: - type - name - account_number - bank_code properties: type: description: Recipient Type (Only nuban at this time) type: string name: description: Recipient's name type: string account_number: description: Recipient's bank account number type: string bank_code: description: Recipient's bank code. You can get the list of Bank Codes by calling the List Banks endpoint type: string description: description: A description for this recipient type: string currency: description: Currency for the account receiving the transfer type: string authorization_code: description: An authorization code from a previous transaction type: string metadata: description: Stringified JSON object of custom data type: string responses: '201': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error get: tags: - Transfer Recipient summary: List Transfer Recipients operationId: transferrecipient_list parameters: - in: query name: perPage schema: type: integer description: Number of records to fetch per page - in: query name: page schema: type: integer description: The section to retrieve - in: query name: from schema: type: string format: date-time description: The start date - in: query name: to schema: type: string format: date-time description: The end date responses: '200': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' '404': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error /transferrecipient/bulk: post: tags: - Transfer Recipient summary: Bulk Create Transfer Recipient operationId: transferrecipient_bulk requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/paths/~1transferrecipient~1bulk/post/requestBody/content/application~1json/schema' application/json: schema: type: object required: - batch properties: batch: description: "A list of transfer recipient object. Each object should contain type, name, and bank_code. \nAny Create Transfer Recipient param can also be passed." type: array items: $ref: '#/paths/~1transferrecipient/post/requestBody/content/application~1json/schema' responses: '201': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error /transferrecipient/{code}: parameters: - name: code description: Transfer recipient code in: path required: true schema: type: string get: tags: - Transfer Recipient summary: Fetch Transfer recipient operationId: transferrecipient_fetch responses: '200': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' '404': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error put: tags: - Transfer Recipient summary: Update Transfer recipient requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/paths/~1transferrecipient~1%7Bcode%7D/put/requestBody/content/application~1json/schema' application/json: schema: type: object required: - batch properties: name: description: Recipient's name type: string email: description: Recipient's email address type: string responses: '200': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' '404': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error delete: tags: - Transfer Recipient summary: Delete Transfer Recipient responses: '200': $ref: '#/paths/~1plan/get/responses/200' '401': $ref: '#/paths/~1plan/get/responses/401' '404': $ref: '#/paths/~1plan/get/responses/401' default: description: Server error components: securitySchemes: bearerAuth: type: http scheme: bearer